export const state = () => ({
    arrNav: {},
    arrNavNum: 0,
    loginSoft: null,
    isLogin: false,
    search: '',
    member_id: '',
    phone: '',
    rzstatus: ''
})

export const mutations = {
    arrNav(state, n) {
        state.arrNav = n
    },
    arrNavNum(state, n) {
        state.arrNavNum = state.arrNavNum + 1
    },
    loginSoft(state, n) {
        state.loginSoft = n
    },
    login(state, n) {
        state.isLogin = n
    },
    search(state, n) {
        state.search = n
    },
    cookie(state, n) {
        state.member_id = n.member_id
        state.phone = n.phone
    },
    rzstatus(state, n) {
        state.rzstatus = "(" + n + ")"
    }
}